<template>
  <div class="app-container">
    <Layout>
        <template #left>
          <div class="left">
            <LeftAside/>
          </div>
        </template>
        <template #main>
          <div class="main">
          <!-- 路由将匹配组件放到占位区 -->
            <router-view></router-view>
          </div>
        </template>
    </Layout>
  </div>
</template>

<script>
import LeftAside from './components/LeftAside'
import Layout from './components/Layout'
export default {
  components:{
    Layout,
    LeftAside,
  }

}
</script>

<style lang="less" scoped>
.app-container{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 
}
.left{
  background: black;
  width: 250px;
}
.main{
  width: 100%;
  height: 100%;
}
</style>